﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ACM.Master" AutoEventWireup="true" CodeBehind="ImportCarAdvance.aspx.cs" Inherits="ACM.ImportCarAdvance" %>
<%@ Register Src="~/UserControls/StatusPanel.ascx" TagPrefix="uc" TagName="StatusPanel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="StatusPlaceHolder" runat="server">
    <uc:StatusPanel ID="Status" runat="server"></uc:StatusPanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content" runat="server">
     <div class="page-header noPrint" style="margin-top: 0;">
        <h1>Upload New Car Purchase   
            <div class="btn-group pull-right">
                <input id="btnBack" class="btn btn-default" type="button" value="กลับ" name="btnBack" onclick="history.back();" />
            </div>    
        </h1>
    </div>

    <div class="row">
        <div class="col-md-6 col-md-offset-3 main">
            <asp:Panel ID="Panel1" runat="server">
                <div class="form-group">
                    <div class="col-sm-6 col-sm-off-3">
                        <asp:FileUpload ID="FileUpload1" runat="server" CssClass="form-control" />
                        <br />
                        <asp:Button ID="btnUpload" runat="server" Text="Upload" CssClass="btn btn-default" OnClick="btnUpload_Click" />
                        <br />
                        <asp:Label ID="lblMessage" runat="server" Text="" />
                    </div>
                </div>
            </asp:Panel>

            <asp:Panel ID="Panel2" runat="server" Visible="false">
                  <div class="form-group">
                    <div class="col-sm-6 col-sm-off-3">
                        <b>File name</b> : <asp:Label ID="lblFileName" runat="server" Text="" />
                        <br /><br />
                       <%-- <b>Select Sheet</b> : <asp:Label ID="lblFirstSheet" runat="server" Text="Label"></asp:Label>
                        <br /><br />--%>
                        <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" CssClass="btn btn-default" />
                        <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" CssClass="btn btn-default" />
                    </div>
                </div>
            </asp:Panel>

        </div>
    </div>
    
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="script" runat="server">
    <script type="text/javascript">
        ActiveMenuIndex(1);
    </script>
</asp:Content>
